package com.xindacloud.sms.portal.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "查询短信报告DTO")
public class SmsReportDTO implements Serializable {


    @ApiModelProperty(value = "动作类型,目前为SMS", name = "actionType", example = "SMS")
    private String actionType;
    @ApiModelProperty(value = "请求类型", name = "requestType", allowableValues = "HTTP POST,HTTP GET,ALL")
    private String requestType;

    /**
     * 查询报告开始时间
     * isNullAble:1
     */
    @ApiModelProperty(value = "查询报告开始时间 yyyy-MM-dd HH:mm:ss", name = "queryReportStartTime", example = "2019-12-11 16:19:30")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String queryReportStartTime;

    /**
     * 查询报告结束时间
     * isNullAble:1
     */
    @ApiModelProperty(value = "查询报告结束时间 yyyy-MM-dd HH:mm:ss", name = "queryReportEndTime", example = "2019-12-11 23:19:30")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String queryReportEndTime;

    @ApiModelProperty(value = "短信接收者", name = "recipient", example = "8615017935045")
    private String recipient;

    @ApiModelProperty(value = "导出需要的字段复选框clientName,sender,countryName,countryPrefix,networkName,status,recipient,totalPrice,messageText", name = "reportColumns", example = "countryName,countryPrefix,networkName,status,recipient,totalPrice,messageText")
    private String reportColumns;

    @ApiModelProperty(value = "发件人", name = "sender")
    private String sender;

    @ApiModelProperty(value = "消息ID", name = "messageId")
    private String messageId;


}
